package com.artisan.medium.admin.service;

import com.artisan.common.pojo.PageBean;
import com.artisan.medium.admin.pojo.WorkerForm;
import com.artisan.model.AddressInfos;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * Created by szw on 2017/7/6.
 */
public interface WorkerService {

	public List<AddressInfos> qProvinces();

	public void addWorker(WorkerForm workerForm);

	public PageBean queryWorkers(Integer busId, String proId, String cityId, String areaId, String ide, String phone,
	                             Integer page, Integer pageSize);

	public Map<String, Object> queryWorkerInfo(Integer workerId);

	public int delWorker(Integer workerId);

	public PageBean queryWorkerAssess(Integer workerId, int page, int pageSize);

	public Map<String, Object> editWorker(Integer workerId);
}
